package cn.signalpha.modules.com.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 数据传输对象实体类
 *
 * @author signalpha
 */
@Data
@ApiModel(value = "UserDTO对象", description = "后台用户DTO")
public class UserLevelDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键")
	private Integer id;
	@NotBlank
	@ApiModelProperty(value = "名称")
	private String name;

	@ApiModelProperty(value = "图标")
	private String icon;

	@ApiModelProperty(value = "背景图")
	private String img;

	@ApiModelProperty(value = "字体颜色")
	private String color;

	@ApiModelProperty(value = "升级需要经验值")
	private Integer expUp;

	@ApiModelProperty(value = "下单获得经验值")
	private Integer expOrder;

	@ApiModelProperty(value = "参数1")
	private Double param1;

	@ApiModelProperty(value = "参数2")
	private Double param2;

	@ApiModelProperty(value = "参数3")
	private Double param3;

}
